package com.example.anju.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import com.example.anju.entity.User;
import com.example.anju.entity.ViewInformationHouse;

@Mapper
@Repository
public interface ViewInformationHouseMapper {
	// 根据房屋ID查看用户房屋视图信息
	@Select("SELECT * FROM view_information_house WHERE house_id=#{house_id}")
	List<ViewInformationHouse> findInformationHouseByHouseId(@Param("house_id") int house_id);
}
